<?php //$Rev:: 46         $ // DO NOT REMOVE

// Error type constants
define('ERR_FATAL',             'fatal');   // Fatal error (client dies)
define('ERR_WARN',              'warn');    // Warning (client continues)

// Buddylist constants
define('LIST_PERMIT_ALL',       1);         // Permit all users
define('LIST_DENY_ALL',         2);         // Deny all users
define('LIST_PERMIT_SOME',      3);         // Permit only those on permit list
define('LIST_DENY_SOME',        4);         // Deny only those on the deny list
define('LIST_ALLOW_BUDDYLIST',  5);         // Allow all users on bussylist
define('LIST_BLOCK_AIM',        6);         // Block all users (invisible)

// User buddylist constants
define('ADD_PERMIT',            0x20001);   // Add buddy to permit list
define('REMOVE_PERMIT',         0x20002);   // Remove buddy from permit list
define('ADD_DENY',              0x20003);   // Add buddy to deny list
define('REMOVE_DENY',           0x20004);   // Remove buddy from deny list

// Debug Message type constants
define('AIM_INFO',              'INFO');    // Informational message
define('AIM_ERR',               'ERR ');    // Fatal error (client dies)
define('AIM_RECV',              'RECV');    // Recieved data
define('AIM_SENT',              'SENT');    // Sent data
define('AIM_RAW',               'RAW ');    // Raw IO (debug mode)
define('AIM_WARN',              'WARN');    // Warning message (client continues)

// Chat message type constants
define('AIM_MSG_IM',            'IM');      // Instant message
define('AIM_MSG_CHAT',          'CHAT');    // Chat message

// User class constants
define('USER_TYPE_AOL',         0x40001);   // AOL user (yes, it sucks)
define('USER_TYPE_NORMAL',      0x40002);   // Normal internet user
define('USER_TYPE_UNCONFIRMED', 0x40003);   // Unconfirmed internet user
define('USER_TYPE_ADMIN',       0x40004);   // AIM admin user (AIM admins, is that a joke? :))

// misc SFLAP settings
define('MAX_PACKLENGTH',        65535);
define('SFLAP_TYPE_SIGNON',     1);
define('SFLAP_TYPE_DATA',       2);
define('SFLAP_TYPE_ERROR',      3);
define('SFLAP_TYPE_SIGNOFF',    4);
define('SFLAP_TYPE_KEEPALIVE',  5);
define('SFLAP_MAX_LENGTH',      2048);
define('SFLAP_SUCCESS',         0);
define('SFLAP_ERR_UNKNOWN',     1);
define('SFLAP_ERR_ARGS',        2);
define('SFLAP_ERR_LENGTH',      3);
define('SFLAP_ERR_READ',        4);
define('SFLAP_ERR_SEND',        5);
define('SFLAP_FLAP_VERSION',    1);
define('SFLAP_TLV_TAG',         1);
define('SFLAP_HEADER_LEN',      6);
define('SFLAP_FLAP_SIGNONSTR',  "FLAPON\r\n\r\n");

define('CAPS_VOICE_UID',           '09461341-4C7F-11D1-8222-444553540000');
define('CAPS_DIRECT_PLAY_UID',     '09461342-4C7F-11D1-8222-444553540000');
define('CAPS_FILE_SEND_UID',       '09461343-4C7F-11D1-8222-444553540000');
define('CAPS_FILE_GET_UID',        '09461348-4C7F-11D1-8222-444553540000');
define('CAPS_IMAGE_UID',           '09461345-4C7F-11D1-8222-444553540000');
define('CAPS_BUDDY_ICON_UID',      '09461346-4C7F-11D1-8222-444553540000');
define('CAPS_STOCKS_UID',          '09461347-4C7F-11D1-8222-444553540000');
define('CAPS_GAMES_UID',           '0946134a-4C7F-11D1-8222-444553540000');
define('CAPS_ICQ_RELAY_UID',       '09461344-4C7F-11D1-8222-444553540000');
define('CAPS_CHANNEL2_TLV_UID',    '09461349-4C7F-11D1-8222-444553540000');
define('CAPS_INVALID_GAMES_UID',   '0946134A-4C7F-11D1-2282-444553540000');
define('CAPS_BLIST_TRANSFERS_UID', '0946134B-4C7F-11D1-8222-444553540000');
define('CAPS_AIMICQ_INTEROP_UID',  '0946134D-4C7F-11D1-8222-444553540000');
define('CAPS_UTF8_UID',            '0946134E-4C7F-11D1-8222-444553540000');

?>